package com.anti_poverty_detection_system.springboot.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ZITONG BAI
 * @since 2024-06-17
 */
@Getter
@Setter
@TableName("tasks")
public class Tasks implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "task_id", type = IdType.AUTO)
    private Integer taskId;

    @TableField("assigned_by")
    private String assignedBy;

    @TableField("assigned_to")
    private String assignedTo;

    @TableField("task_description")
    private String taskDescription;

    @TableField("status")
    private String status;

    @TableField("created_at")
    private LocalDateTime createdAt;

    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @TableField("file_urls")
    private String fileUrls;

    @TableField("title")
    private String title;


}
